/*
 * User: rant
 * Date: Aug 6, 2007
 *
 *
 */
package laMalinche.propertyChangeAdapters.model;

import laMalinche.testingPlayGround.testModel.EntityChangeEvent;
import laMalinche.testingPlayGround.testModel.VOEntity;

import java.beans.PropertyChangeEvent;

/**
 *
 */
public class PropertyChangeEventToEntityChange  implements EntityChangeEvent {
	private final PropertyChangeEvent changeEvent;

	public PropertyChangeEventToEntityChange(PropertyChangeEvent changeEvent) {
		this.changeEvent = changeEvent;
	}

	public VOEntity getEntity() {
		final VOEntity element = new VOEntityImp(changeEvent);
		return element;
	}
}